import MYRequest  from '../indexJS/findIndex'

export function getTopicList() {
    return MYRequest.get({
        url: "/topic/list",
      });
}

export function getArticleList(params){
    return MYRequest.get({
        url:`/article/list`,
        params,
    });
}